from google.appengine.ext import ndb
class User(ndb.Model):
    _use_cache = False
    _use_memcache = False
    city = ndb.StringProperty()

@ndb.transactional
def kill_kaz(kaz):
  kaz.delete()
  print kaz.get()

kaz = User(id="kaz", city="TOK").put()
kill_kaz(kaz)
print kaz.get()
